<?php
$leftMVar = $_GET['lmv'] ;
if($leftMVar != '')
{
	$_SESSION['sess_left_menu_bgcolor'] = $leftMVar ;
}
?>
<table width="190" border="0" cellspacing="0" cellpadding="0" >
 
 <?php 
 	foreach($arrAdminLeftBar as $albKey => $albValue)
	{
 		$tmp_admin=$_SESSION['sess_main_admin'];
		
			if($albValue[2]	== 	$_SESSION['sess_left_menu_bgcolor'] and $albValue[2] != '')
			{
				$leftTdBgcolor = "#446cc0"; //#DEDEE0
				$leftTdClass = "white_txt";
			}
			else
			{
				$leftTdBgcolor = "#446cc0";
				$leftTdClass = "white_txt";
			}
			
		if($albValue[4] == 'heading' )
		{
			$leftTdBgcolor = "#FFE4B9";
			$bgExtra = "";
			$tdHeight = "19";
		}
		else
		{
			$bgExtra = "onMouseOver=\"this.style.backgroundColor='#B6C6E6';\" onMouseOut=\"this.style.backgroundColor='".$leftTdBgcolor."';\"'";
			$tdHeight = "18";
		}

 ?>
    <tr>
    <td height="<?=$tdHeight?>" align="left" valign="middle" class="blue_txt" <?php if($albValue[4] == 'heading' ) { ?> background="images/pc.gif" <?php }else{ ?> bgcolor="<?=$leftTdBgcolor?>" <?=$bgExtra?> <?php }?> >
	&nbsp;&nbsp;
	<?php if($albValue[4] == 'heading' ) { ?>
	&nbsp;<b><?=$albValue[0]?><b/>
	<?php }else{ ?>
	<img src="./images/plus.gif" border="0">&nbsp; <a href="<?=$albValue[1]?>" class="<?=$leftTdClass?>" title="<?=$albValue[3]?>"><?=$albValue[0]?><?php //getLeftBarExtra($albValue[4])?></a>
	<?php }?>

	</td>
  </tr>
  
 <?php
 } // End foreach loop
 ?>
</table>
